package main

import (
	"./tempconv" // 导入当前目录中我们魔改过的 tempconv 包
	"fmt"
)

func main() {
	fmt.Println("Kelvin 温度中：")
	fmt.Println("绝对零度：", tempconv.AbsoluteZeroK)
	fmt.Println("冰点：", tempconv.FreezingK)
	fmt.Println("沸点：", tempconv.BoilingK)

	var k tempconv.Kelvin = 10
	var c tempconv.Celsius = 10
	fmt.Println("温度转换：")
	fmt.Println(k, " = ", tempconv.KToC(k))
	fmt.Println(c, " = ", tempconv.CToK(c))
}
